home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 17607 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.2 KB  |  46 lines

  1. Path: heracles.net2.kosone.com!bv-ppp6
  2. From: nrgetik@limestone.kosone.com (nrgetik)
  3. Newsgroups: comp.lang.c++
  4. Subject: Need Help!! BC++ 4.52 DPMI32 problem!
  5. Date: 14 Apr 1996 19:37:23 GMT
  6. Organization: Kingston Online Services
  7. Message-ID: <4krk5j$bq@heracles.net2.kosone.com>
  8. NNTP-Posting-Host: bv-ppp6.net2.kosone.com
  9. X-Newsreader: News Xpress Version 1.0 Beta #3
  10.  
  11. HELP!!!
  12.  
  13. I'm relatively new to C, and am having a strange problem.
  14. I've just started playing around with protected mode, and have
  15. been having success with 16-bit pmode stuff.  Whenever I try to
  16. use 32-bit pmode, I am stopped dead in my tracks.  I'm using
  17. Borland C++ 4.52, with the Dos PowerPack v1.0
  18.  
  19. Just as a test, I wrote a simple prog :
  20.  
  21. #include <stdio.h>
  22. #include <conio.h>
  23.  
  24. void main()
  25. {
  26.   printf("Hello!");
  27.   getch();
  28. }
  29.  
  30. This compiles fine under DOS(STANDARD) and DOS(16-bit DPMI)
  31. but when I compile under DOS(32-bit DPMI) I get this error:
  32.  
  33. This program cannot be run in DOS mode.
  34. (Load error 85)
  35. 32stub error: The program can not be loaded
  36.  
  37.  
  38. I checked out Borland's web site (to no avail) and
  39. cannot find any info on this.
  40.  
  41. If anyone has seen this before, I would appreciate any
  42. help or insight.
  43.  
  44. Thanks in advance.
  45. -Steve
  46.